package com.yingpai.fitness.dvp_2_0.main.activity.dynamic;

import android.os.Bundle;
import android.widget.EditText;
import android.widget.ListView;

import com.yingpai.fitness.R;
import com.yingpai.fitness.dvp_2_0.common.activity.CommonActivity;
import com.yingpai.fitness.dvp_2_0.common.adapter.BaseAdapterHelper;
import com.yingpai.fitness.dvp_2_0.common.adapter.QuickAdapter;
import com.yingpai.fitness.dvp_2_0.common.util.constant.Contacts;

import butterknife.BindView;

/**
 * Created by ASUS on 2019/2/26.
 */

public class SerachShopLabelActivity extends CommonActivity {

    @BindView(R.id.listview)
    ListView listview;
    @BindView(R.id.edittext)
    EditText edittext;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setStatusFlag(Contacts.NORMAL_STATUS);
        setContentView(R.layout.activity_serach_location);
    }

    @Override
    protected void initView() {
        edittext.setHint("搜索商品标签");

        QuickAdapter<String> quickAdapter = new QuickAdapter<String>(context,R.layout.item_shop_label) {
            @Override
            protected void convert(BaseAdapterHelper helper, String item) {

            }
        };

        listview.setAdapter(quickAdapter);

        quickAdapter.clear();
        quickAdapter.add("");
        quickAdapter.add("");
        quickAdapter.add("");
        quickAdapter.add("");
        quickAdapter.add("");
        quickAdapter.add("");
        quickAdapter.notifyDataSetChanged();
    }

    @Override
    protected void initData() {

    }
}
